package org.jeecg.modules.demo.ch.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 软件运维计划表
 * @Author: jeecg-boot
 * @Date:   2022-10-27
 * @Version: V1.0
 */
@ApiModel(value="ch_software_operation_plan对象", description="软件运维计划表")
@Data
@TableName("ch_software_operation_plan")
public class ChSoftwareOperationPlan implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
    private String itemNo;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String itemName;
    /**项目类型（1.软件项目2.硬件项目3.混合项目）*/
    @Excel(name = "项目类型（1.软件项目2.硬件项目3.混合项目）", width = 15)
    @ApiModelProperty(value = "项目类型（1.软件项目2.硬件项目3.混合项目）")
    private java.lang.Integer itemType;
	/**合同总价*/
	@Excel(name = "合同总价", width = 15)
    @ApiModelProperty(value = "合同总价")
    private String totalContractPrice;
	/**运维比例*/
	@Excel(name = "运维比例", width = 15)
    @ApiModelProperty(value = "运维比例")
    private String proportion;
    /**软件套数*/
    @Excel(name = "软件套数", width = 15)
    @ApiModelProperty(value = "软件套数")
    private java.lang.Integer softwareSetsNum;
    /**硬件到期时间*/
    @Excel(name = "硬件到期时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "硬件到期时间")
    private java.util.Date hardwareExpirTime;
    /**软件到期时间*/
    @Excel(name = "软件到期时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "软件到期时间")
    private java.util.Date softwareExpirTime;

    /**项目责任人*/
    @Excel(name = "项目责任人", width = 15)
    @ApiModelProperty(value = "项目责任人")
    private String projectProjectPeoper;

    /**供应商/客户联系人*/
    @Excel(name = "供应商/客户联系人", width = 15)
    @ApiModelProperty(value = "供应商/客户联系人")
    private String contacts;

	/**软件授权类型（1.年付费2.永久产权3.有截止日）*/
	@Excel(name = "软件授权类型（1.年付费2.永久产权3.有截止日）", width = 15)
    @ApiModelProperty(value = "软件授权类型（1.年付费2.永久产权3.有截止日）")
    private Integer softwareLicenseType;
	/**是否放弃维保（1.否2.是）*/
	@Excel(name = "是否放弃维保（1.否2.是）", width = 15)
    @ApiModelProperty(value = "是否放弃维保（1.否2.是）")
    private Integer isAbandonMaintenance;

    /**附件*/
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String enclosure;
	/**是否删除（0正常1.删除）*/
	@Excel(name = "是否删除（0正常1.删除）", width = 15)
    @ApiModelProperty(value = "是否删除（0正常1.删除）")
    private Integer deleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    /**维保/租用金额(元)*/
    @ApiModelProperty(value = "维保/租用金额(元)")
    @TableField(exist = false)
    private java.math.BigDecimal amount;

    /**硬件维保/租用金额(元)*/
    @ApiModelProperty(value = "硬件维保/租用金额(元)")
    @TableField(exist = false)
    private java.math.BigDecimal hardwareAmount;

    /**软件授权截止日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "软件授权截止日期")
    @TableField(exist = false)
    private Date authorizationDeadline;

    /**硬件授权截止日期*/
    @Excel(name = "硬件授权截止日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "硬件授权截止日期")
    @TableField(exist = false)
    private Date hardWareAuthorizationDeadline;



}
